package com.wnxy.carlusermanageassembly.commons;

import com.wnxy.carl.commons.JwtUtils;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Bean;
import org.springframework.stereotype.Component;

@Component
public class JwtConfig {

    @Value("${auth.jwt.sign-key}")
    private String signiggKey;
    @Bean
    public JwtUtils jwtUtils(){
        return new JwtUtils(signiggKey);
    }
}
